<%--
  Created by IntelliJ IDEA.
  User: zl0808zf
  Date: 2024/11/29
  Time: 15:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<html>
<head>
    <title>Insert title here</title>
</head>
<body>
<h3>这是一个测试对象属性信息监听器的页面</h3>
<%
    getServletContext().setAttribute("username", "zhangsan");
    getServletContext().setAttribute("username", "lisi");
    getServletContext().removeAttribute("username");
    session.setAttribute("username", "zhangsan");
    session.setAttribute("username", "lisi");
    session.removeAttribute("username");
    request.setAttribute("username", "zhangsan");
    request.setAttribute("username", "lisi");
    request.removeAttribute("username");
%>
</body>
</html>